package com.example.boot.dlgoodsmodel.dao;

import java.util.List;

import com.example.boot.dlgoodsmodel.model.DlGoodsModel;
import com.example.boot.dlgoodsmodel.vo.DlGoodsModelVo;
import com.example.boot.dlgoodsmodel.vo.ModelType;

public interface DlGoodsModelMapper {
	int deleteByPrimaryKey(String id);

	int insert(DlGoodsModel record);

	int insertSelective(DlGoodsModel record);

	DlGoodsModel selectByPrimaryKey(String id);

	int updateByPrimaryKeySelective(DlGoodsModel record);

	int updateByPrimaryKey(DlGoodsModel record);

	/**
	 * 
	 * @return
	 * @throws Exception
	 */
	List<DlGoodsModel> findAllModel() throws Exception;

	/**
	 * 查找所有类型
	 * 
	 * @return
	 * @throws Exception
	 */
	List<ModelType> findType() throws Exception;

}